
/************
 * 页面样式
 ************/

/* ==========
   基本默认值
   ========== */

html {
    font-size: 62.5%;
    color: #222;
}

::selection {
    background-color: #b3d4fc;
    text-shadow: none;
}

ul {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

/* ==========
   工具样式
   ========== */

.center-block {
    display: block;
    margin-right: auto;
    margin-left: auto;
}

.pull-right {
    float: right !important;
}

.pull-left {
    float: left !important;
}

.text-right {
    text-align: right !important;
}

.text-left {
    text-align: left !important;
}

.text-center {
    text-align: center !important;
}

.hide {
    display: none !important;
}

.show {
    display: block !important;
}

.invisible {
    visibility: hidden;
}

.text-hide {
    font: 0/0 a;
    color: transparent;
    text-shadow: none;
    background-color: transparent;
    border: 0;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

/* ===============
   浏览器更新提示
   =============== */

.browserupgrade {
    margin: 0;
    padding: 1rem;
    background: #ccc;
}

/* ===============
   自定义页面样式
   =============== */
body {
    font-size: 1.2rem;
    line-height: 1.5;
    background-color: #f7f7f7;
}

a {
    color: #666;
    text-decoration: none;
}

/*a:hover, a:active {
    color: #0ae;
    text-decoration: none;
}*/
header .main {
    padding: 0;
}

header .main .brand {
    float: left;
    padding: 1rem 1.5rem 0;
}

header .main ul {
    text-align: right;
}

header .main ul li {
    display: inline-block;
    border-left: 1px solid #f0ede9;
}

header .main ul li a {
    display: inline-block;
    padding: 0 2.5rem;
    line-height: 5.5rem;
    font-size: 1.6rem;
    font-weight: bold;
    color: #7c7a65;
    text-decoration: none;
}

header .main ul li a:hover,
header .main ul li a:active,
header .main ul li a.active {
    color: #ffb300;
    background-color: #f8f6f1;
}

@media only screen and (max-width: 50em) {

    header .main .brand {
        float: none;
        display: block;
        padding: 0;
        margin: 1.5rem auto 0.5rem;
        text-align: center;
    }

    header .main ul {
        text-align: center;
    }

    header .main ul li {
        border: none;
    }

    header .main ul li a {
        padding: 0 1.5rem;
    }
}

@media only screen and (max-width: 30em) {

    header .main ul li {
        line-height: 3rem;
    }

    header .main ul li:last-child {
        display: none;
    }

    header .main ul li a {
        font-weight: normal;
        padding: 0 0.5rem;
    }
}
/* 底部 */

footer {
    width: 100%;
    padding: 3rem 0 5rem;
    background-color: #ededed;
}

footer ul {
    text-align: center;
}

footer ul li {
    display: inline-block;
    padding-left: 10px;
}
footer ul li .icon{
    font-size: 3rem;
    transition:all 0.2s;
}
footer ul li .icon:hover,footer ul li .icon:active{
    color: #0ae;
    text-decoration: none;
}
ul.share-group {
    width: 100%;
    margin: 0px auto;
}
footer p {
    text-align: center;
    color: #999;
}

/*
*轮播
*/
.ad{
    width: 90%;
    margin: 0 auto;
}
.owl-carousel .owl-stage-outer {
    border: 14px solid grey;
    border-image: url(../img/bg-lunbo.png) 10 9 round;
}
/*
*博文样式，不过是首页的
*/
.bowen{
    position: relative;
    display: block;
    width: 740px;
    margin: 0 auto;
    padding: 16px;
    background-color: gainsboro;
    margin-bottom: 10px;
}
.bowen img{
    width: 250px;
    transition: all 0.2s;
}
.bowen img:hover{
    transform: scale(1.2);
}
.bowenImg{
    display: inline-block;
    width: 250px;
    height: 130px;
    overflow: hidden;
}
.bowen .title{
    position: absolute;
    left: 48%;
    font-size: 20px;
    font-weight: 700;
}
.bowen .title:hover{
    color: #ffb300;
}
.bowen .shortword{
    display: inline-block;
    position: absolute;
    left: 38%;
    top: 30%;
    font-size: 15px;
}
.bowen .tools{
    position: absolute;
    display: inline-block;
    right: 10px;
    bottom: 10px;
}
.bowen .see,.bowen .like,.bowen .time{
    margin-right: 10px;
}
.bowen .see:hover,.bowen .like:hover,.bowen .time:hover{
    color: #ffb300;
}
.sec{
    margin: 0 auto;
    width: 1200px;
    display: block;
}
.mainLeft{
    width: 800px;
    display: inline-block;
}
.mainRight{
    display: inline-block;
    width: 350px;
}
.rightBox{
    display: block;
}
.mainRight {
    width: 360px;
    float: right;
}
.mainRight .rightBox .title {
    border-bottom: 1px solid #ebebeb;
    font-size: 18px;
    margin-bottom: 20px;
}
.mainRight .rightBox .title span {
    display: inline-block;
    margin-bottom: -1px;
    height: 36px;
    line-height: 36px;
    border-bottom: 1px solid #e67e22;
    padding: 0px 20px 0px 0px;
}
.mainRight .rightBox button {
    background: #e67e22;
    width: 100%;
    height: 34px;
    cursor: pointer;
    border-radius: 3px;
    color: #fff;
    font-size: 12px;
    font-family: '微软雅黑';
}
.mainRight .rightBox .line {
    margin-bottom: 10px;
    position: relative;
}
.mainRight .rightBox .line.error em {
    width: 20px;
    height: 20px;
    display: block;
    position: absolute;
    top: 8px;
    right: 25px;
    cursor: pointer;
    background-size: 80% 80%;
}
.mainRight .rightBox .line span {
    width: 60px;
    display: inline-block;
    text-align: right;
}
.mainRight .rightBox .line input {
    width: 210px;
    height: 34px;
    line-height: 34px;
    border: 1px solid #ddd;
    background: none;
    padding: 0px 5px;
}
.mainRight .rightBox .line button {
    background: #e67e22;
    width: 222px;
    height: 34px;
    cursor: pointer;
    border-radius: 3px;
    color: #fff;
    font-size: 12px;
    font-family: '微软雅黑';
}
.mainRight .rightBox .line em {
    display: none;
}
@media only screen and (max-width: 75em){
    .mainRight{
        display: none;
    }
    .mainLeft{
        margin: 0 auto;
        display: block;
    }
    .sec{
        width: 100%;
    }
}
@media only screen and (max-width: 50em){
    .mainLeft{
        width: 100%;
    }
    .bowen{
        width: 100%;
        background-color: gainsboro;
        margin-bottom: 10px;
        padding: 10px 0;
    }
}
@media only screen and (max-width: 668px){
    .bowenImg{
        display: none;
    }
    .bowen{
        height: 154px;
    }
    .bowen .shortword{
        left: 16%;
    }
    .bowen .title{
        left: 38%;
    }
}
/*
*blog详情
*/
.mainLeftDetail{
    background-color: gainsboro;
}
.mainLeftDetail .marked{
    margin: 0 auto;
    width: 80%;
}
.mainLeftDetail .tools{
    float: right;
}
.mainLeftDetail {
    width: 800px;
    margin: 0 auto;
    box-shadow: 0px 0px 14px 1px cadetblue;
}
@media only screen and (max-width: 50em){
    .mainLeftDetail{
        width: 100%;
    }
}
.mainLeftDetail .message{
    display: block;
    width: 100%;
    height: 30px;
    float: left;
}
.mainLeftDetail .message input:first-child{
    width: 94%;
    border: 1px solid grey;
}
.mainLeftDetail .message input:first-child:hover,
.mainLeftDetail .message input:first-child:active{
    box-shadow: 0px 0px 14px 1px cadetblue;
}
.mainLeftDetail .message button{
    border-radius: 39%;
    list-style: none;
    border: 1px solid cadetblue;

}
.mainLeftDetail .message button:hover{
    box-shadow: 0px 0px 14px 1px cadetblue;
}

/*关于我的*/
#sendContact{
    position:absolute;
    right: 0;
    bottom: 0;
}
.xxx{
    position: absolute;
    width: 24px;
    top: 0;
    left: 50%;
    font-size: 18px;
    border: 1px solid #000000;
    border-radius: 100%;
    text-indent: 6px;
    line-height: 20px;
    cursor: pointer;
}
#marked{
    width: 800px;
    margin: 0 auto;
    background-color: gainsboro;
    padding: 10px;
    border-radius: 14%;
}
@media only screen and (max-width: 51em){
    #marked{
        width: 95%;
    }
}
